package com.weimob.cloud.api.shop.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 微盟查询在售商品详情请求参数
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class WeimobShopGetGoodsDetailReq {

    @JsonProperty("basicInfo")
    private BasicInfoDTO basicInfo;

    @JsonProperty("goodsId")
    private Long goodsId;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    public static class BasicInfoDTO {

        @JsonProperty("vid")
        private Long vid;

        @JsonProperty("vidCode")
        private String vidCode;
    }
}
